From d3bceed42caca6ac8c39ebe0c929f7d3c13d2bfa Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 9 Apr 2026 15:20:56 +0300 Subject: update settings --- src/app/profile/[username]/page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/app/profile/[username]') diff --git a/src/app/profile/[username]/page.tsx b/src/app/profile/[username]/page.tsx index cad11bb..ea13b36 100644 --- a/src/app/profile/[username]/page.tsx +++ b/src/app/profile/[username]/page.tsx @@ -1,11 +1,10 @@ -import Image from 'next/image'; -import { Button } from '@/components/ui'; +import AccountButton from '@/components/settings/AccountButton'; import { getUserByUsername } from '@/lib/api/user'; import { User } from '@/lib/contexts/Auth.context'; + interface ProfilePageProps { params: Promise<{ username: string }>; } - export default async function Profile({ params }: ProfilePageProps) { const { username } = await params; @@ -76,7 +75,7 @@ export default async function Profile({ params }: ProfilePageProps) {
- + ); -- cgit v1.3-3-g829e